﻿using Loki.Commands;

namespace Luna.UI
{
    public static class NavigationCommands
    {
        public static readonly ICommand ACCOUNTS;
        public static readonly ICommand BUDGET_CATEGORIES;
        public static readonly ICommand BUDGET_LIST;
        public static readonly ICommand CATEGORIES;
        public static readonly ICommand CONTACTS;
        private static CommandManager _Manager;

        static NavigationCommands()
        {
            _Manager = new CommandManager();
            ACCOUNTS = _Manager.CreateNavigation(Names.ACCOUNTS);
            BUDGET_CATEGORIES = _Manager.CreateNavigation(Names.BUDGET_CATEGORIES);
            BUDGET_LIST = _Manager.CreateNavigation(Names.BUDGET_LIST);
            CATEGORIES = _Manager.CreateNavigation(Names.CATEGORIES);
            CONTACTS = _Manager.CreateNavigation(Names.CONTACTS);
        }

        private static class Names
        {
            public const string ACCOUNTS = "Navigation.Accounts";
            public const string BUDGET_CATEGORIES = "Navigation.Budget.Categories";
            public const string BUDGET_LIST = "Navigation.Budget.List";
            public const string CATEGORIES = "Navigation.Categories";
            public const string CONTACTS = "Navigation.Contacts";
        }
    }
}